package com.zhaolulu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhaolulu.domain.Order;
import com.zhaolulu.domain.dto.PayDto;

public interface OrderService extends IService<Order> {

    /**
     * 创建订单
     * @param payDto
     * @param platform
     * @return
     */
    Order createOrder(PayDto payDto, String platform);


    /**
     * 根据订单号查询订单
     * @param orderSn
     * @return
     */
    Order getByOrderNo(String orderNo);
}
